import request from '@/utils/request'

//设计师与用户订单
export function getorder(udOdNum,currentPage,pagesizes) {
  return request({
    url: '/udorder',
    method: 'get',
    params: { udOdNum,currentPage,pagesizes }
  })
}

export function deleteorder(udOdId) {
  return request({
    url: `/udorder/${udOdId}`,
    method: 'delete',
  })
}

//查询总数
export function getOrderTotal() {
  return request({
    url: '/udorder/total',
    method: 'get',

  })
}






//用户与品牌商订单
export function getUanduborder(uubOdNum,currentPage,pagesizes) {
  return request({
    url: '/uuborder',
    method: 'get',
    params: { uubOdNum,currentPage,pagesizes }
  })
}

export function deletuuborder(uubOdId) {
  return request({
    url: `/uuborder/${uubOdId}`,
    method: 'delete',
  })
}

//查询总数
export function getuubOrderTotal() {
  return request({
    url: '/uuborder/total',
    method: 'get',

  })
}
